package Exercicios2;


public class Bar extends Foo {

	public int a;

	static int x = 1;

	public Bar() {
		a = 8;
	}

	public void addFive() {
		this.a += 5;
	}

	public static void main(String[] args) {

	/*	String s = "x,yy,123";
		Scanner sc = new Scanner(s);
		while (sc.hasNext())
			System.out.print(sc.next() + " ");

		boolean x = true;
		boolean y = false;
		short z = 42;

		if ((x == true) && (y = true))
			z++;
		if ((y == true) || (++z == 44))
			z++;

		System.out.println("z = " + z);*/

		Foo foo = new Bar();
		foo.addFive();
		//foo.addPlayer(new Bar());
		System.out.println("Value:" + foo.a);

		/*Set set = new LinkedHashSet();
		set.add(new Integer(2));
		set.add(new Integer(1));
		System.out.println(set);*/
	}
}
